package StringExercise;

/**
 * ClassName:StringExercise003
 * Package:StringExercise
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/17-19:45
 * @Version:v1.0
 */
public class StringExercise003 {
    /*
     * 给定两个以字符串形式表示的非负整数num1和num2,返回num1和num2的乘积,他们的乘积也表示为字符串形式
     * */
    public static void main(String[] args) {
        String num1 = "1234";
        String num2 = "123";
        //1.把num1和num2变成对应的整数
        getNumber(num1,num2);
    }

    public static void getNumber(String num1, String num2) {
        for (int i = 0; i < num1.length(); i++) {
            char c1 = num1.charAt(i);
        }
        for (int i = 0; i < num2.length(); i++) {
            char c2 = num2.charAt(i);
        }

    }
}
